package javaClass;

import java.awt.image.BufferedImage;

public class ScreenShot {

	private Camera3D _Camera;
	public Camera3D getCamera()
	{
		return _Camera;
	}
	
	private BufferedImage _Displayed;
	public BufferedImage getDisplayed()
	{
		return _Displayed;
	}
	
	
	public ScreenShot(Camera3D camera,BufferedImage image)
	{
		_Camera = new Camera3D();
		_Camera.up = camera.up;
		_Camera.position = camera.position;
		_Camera.target = camera.target;
		_Displayed = image;
	}
	
	public void RestoreTo(Camera3D camera)
	{
		camera.up = _Camera.up;
		camera.position = _Camera.position;
		camera.target = _Camera.target;
	}
}
